class Config(object):
    SECRET_KEY = '1234567890'
    
    # 必须安装pip install psycopg2
    # 必须先用命令行或图形界面pgadmin4创建数据库flaskblog
    SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:123456@localhost/flaskblog'
    
    # 必须安装pip install pymsql
    # 必须先用命令行创建数据库flaskblog
    # SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:123456@localhost/flaskblog'
    SQLALCHEMY_TRACK_MODIFICATIONS = False